package com.qfedu.mavenk.demo9;

import org.springframework.context.ApplicationEvent;
import org.springframework.stereotype.Component;

/**
 * @author:huayuzhuo
 * @email:2798866329@qq.com
 * @desc:
 * @datatime: 2022/10/24 16:33
 */
public class CustomEvent extends ApplicationEvent {

    public CustomEvent(Object source,String message) {
        super(source);
    }

    @Override
    public String toString() {
        return "我是自定义事件";
    }
}
